package algo.A02_查找排序基础;

import util.ArrayUtil;

import java.util.Arrays;

public class M05_Arrays {
    public static void main(String[] args) {
        int[] randomArr = ArrayUtil.getRandomArr(10, -100, 100);
        System.out.println(Arrays.toString(randomArr));
        Arrays.sort(randomArr);
        System.out.println(Arrays.toString(randomArr));
        ArrayUtil.shuffle(randomArr);
        System.out.println(Arrays.toString(randomArr));
        ArrayUtil.moveForword(randomArr);
        System.out.println(Arrays.toString(randomArr));
        ArrayUtil.moveAfter(randomArr);
        System.out.println(Arrays.toString(randomArr));

        System.out.println(ArrayUtil.getRandomNumber(20,32));
    }
}
